class Users < ActiveRecord::Migration
  def self.up
    create_table :users do |u|
      u.column :login, :string
      u.column :password, :string
    end
    User.create(:login => 'admin',
                :password => 'walker',
                :password_confirmation => 'walker')
  end

  def self.down
    drop_table :users
  end
end
